# @Version : 1.0
# @Author  : 刘宇
# @File    : 21_ord_chr_example.py
# @Time    : 2025/10/13 15:31

print(ord('1'))  # 49
print(ord('2'))
print(ord('a'))  # 97
print(ord('b'))
print(ord('韩'))
print(ord('顺'))
print(ord('平'))

print("---------------")

print(chr(49))
print(chr(97))